package com.qianji.petmall.order.feign;

import com.qianji.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author liang zai
 * @date 2022/4/29 16:50
 * @description
 */
@FeignClient("petmall-product")
public interface ProductFeignService {
    @PostMapping("/product/spuinfo/skuId/{id}")
    R getSkuInfoBySpuId(@PathVariable("id") Long skuId);
}
